package com.nanhai.buddhist.college.module.collegebase.enums;

import com.nanhai.buddhist.college.framework.common.exception.ErrorCode;

/**
 * System 错误码枚举类
 * <p>
 * system 系统，使用 1-002-000-000 段
 */
public interface ErrorCodeConstants {

    // ========== 学校管理-班级 ==========
    ErrorCode CLASSES_NOT_EXISTS = new ErrorCode(2001001000, "学校管理-班级不存在");
    // ========== 学校管理--学院  ==========
    ErrorCode COLLEGES_NOT_EXISTS = new ErrorCode(2001001001, "学校管理--学院不存在");


    ErrorCode DEPARTMENTS_NOT_EXISTS = new ErrorCode(2001001002, "学校管理--系部不存在");
    // ========== 学校管理--专业  ==========
    ErrorCode PROFESSIONS_NOT_EXISTS = new ErrorCode(2001001003, "学校管理--专业不存在");
    ErrorCode ROLL_CHECK_LOG_NOT_EXISTS = new ErrorCode(2001001004, "学籍信息审核记录不存在");
    // ========== 学籍信息异动 ==========
    ErrorCode STUDENT_CHANGE_NOT_EXISTS = new ErrorCode(2001001005, "学籍信息异动不存在");
    // ========== 学员信息  ==========
    ErrorCode STUDENT_ROLL_NOT_EXISTS = new ErrorCode(2001001006, "学员信息不存在");

    ErrorCode TEXTBOOK_INFO_NOT_EXISTS = new ErrorCode(2001001007, "教材列表不存在");

    ErrorCode STUDENT_CHANGE_LOG_NOT_EXISTS = new ErrorCode(2001001008, "异动日志不存在");

    ErrorCode TEXTBOOK_TYPE_NOT_EXISTS = new ErrorCode(2001001009, "教材类型不存在");
    ErrorCode TEXTBOOK_TYPE_ID_EQ_PARENT = new ErrorCode(2001001009, "教材上级不能选择自己");
    // ========== 教师管理  ==========
    ErrorCode TEACHER_TEACHERS_NOT_EXISTS = new ErrorCode(2001001010, "教师管理不存在");
    // ========== 奖励惩罚表  ==========
    ErrorCode STUDENT_REWARD_PUNISH_NOT_EXISTS = new ErrorCode(2001001011, "奖励惩罚表不存在");
    // ========== 奖罚管理   ==========
    ErrorCode REWARD_PUNISH_RECORD_NOT_EXISTS = new ErrorCode(2001001012, "奖罚管理不存在");
    // ========== 教室分类   ==========
    ErrorCode CLASSROOM_CATEGORY_NOT_EXISTS = new ErrorCode(2001001013, "教室分类不存在");
    // ========== 教室管理   ==========
    ErrorCode CLASSROOM_INFO_NOT_EXISTS = new ErrorCode(2001001014, "教室不存在");

    // ========== 教室功能   ==========
    ErrorCode CLASSROOM_FUNCTION_NOT_EXISTS = new ErrorCode(2001001015, "教室功能不存在");
    // ========== 教师薪酬   ==========
    ErrorCode TEACHER_REMUNERATION_NOT_EXISTS = new ErrorCode(2001001016, "教师薪酬不存在");

    // ========== 楼栋管理   ==========
    ErrorCode ACCOMMODATION_BUILDING_NOT_EXISTS = new ErrorCode(2001001017, "楼栋管理不存在");
    ErrorCode ACCOMMODATION_BUILDING_NOT_DELETE = new ErrorCode(2001001017, "楼栋不能删除");
    // ========== 楼层   ==========
    ErrorCode ACCOMMODATION_FLOOR_NOT_EXISTS = new ErrorCode(2001001018, "楼层不存在");

    // ========== 房间   ==========
    ErrorCode ACCOMMODATION_ROOM_NOT_EXISTS = new ErrorCode(2001001019, "房间不存在");
    ErrorCode ACCOMMODATION_ROOM_BED_EXISTS = new ErrorCode(2001001026, "房间存在入住记录，不允许删除");

    // ========== 床铺   ==========
    ErrorCode ACCOMMODATION_BED_NOT_EXISTS = new ErrorCode(2001001020, "床铺不存在");

    // ========== 入住记录   ==========
    ErrorCode ACCOMMODATION_RESIDE_NOT_EXISTS = new ErrorCode(2001001021, "入住记录不存在");
    ErrorCode CLASSES_NOT_DELETE = new ErrorCode(2001001022, "该班级关联了学员不能删除");
    ErrorCode CLASSES_NOT_DELETE_XUEY = new ErrorCode(2001001023, "该学院关联了系部不能删除");
    ErrorCode CLASSES_NOT_DELETE_XIBY = new ErrorCode(2001001024, "该系部关联了专业不能删除");
    ErrorCode CLASSES_NOT_DELETE_XHUAN = new ErrorCode(2001001025, "该专业关联了班级不能删除");

    ErrorCode ACCOMMODATION_FLOOR_ROOM_EXISTS = new ErrorCode(2001001026, "楼层存在房间，不允许删除");

    ErrorCode HAVE_RESIDE_ERROR = new ErrorCode(2001001027, "该人员已存在入住记录无法继续添加");
    ErrorCode SELECT_NULL_ERROR = new ErrorCode(2001001028, "查询不到用户信息");
    //  ======班级和教师关联=======
    ErrorCode CLIENT_ERROR = new ErrorCode(4500, "当前已是迁出状态");

    ErrorCode HAVE_CHANGE_ERROR = new ErrorCode(2001001027, "该人员已存在相同异动申请，无法继续添加");
    ErrorCode NOT_CLASSES_INFO_ERROR = new ErrorCode(2001001028, "操作失败·,查询不到班级信息");

    // ========== 教学管理-考勤管理   ==========
    ErrorCode NOT_ALLOW_DELETE = new ErrorCode(2001001029, "该请假类型有业务关联，不允许删除");


    ErrorCode DEPARTMENTS_NOT_ALLOW_CREATE = new ErrorCode(2001001030, "无权限创建系部");
    ErrorCode PROFESSION_NOT_ALLOW_CREATE = new ErrorCode(2001001031, "无权限创建专业");

    ErrorCode COLLEGES_NOT_ALLOW_CREATE = new ErrorCode(2001001032, "无权限创建学校");

    ErrorCode IDENTITY_CARD_NUMBER_HAVE_EXISTS = new ErrorCode(2001001033, "身份证已被注册");

    ErrorCode JOB_NUMBER_HAVE_EXISTS = new ErrorCode(2001001034, "工号已存在");

    ErrorCode STUDENT_NUMBER_HAVE_EXISTS = new ErrorCode(2001001035, "学号已存在");

    ErrorCode COLLEGE_CODE_HAVE_EXISTS = new ErrorCode(2001001036, "学院代码已经存在");

    ErrorCode COLLEGE_NAME_HAVE_EXISTS = new ErrorCode(2001001037, "学院名称已经存在");

    ErrorCode DEPARTMENTS_NAME_HAVE_EXISTS = new ErrorCode(2001001038, "系部名称已经存在");

    ErrorCode PROFESSIONS_NAME_HAVE_EXISTS = new ErrorCode(2001001039, "专业名称已经存在");

    ErrorCode CLASSES_NAME_HAVE_EXISTS = new ErrorCode(2001001040, "班级名称已经存在");

    ErrorCode DATE_FORM_EXISTS = new ErrorCode(2001001041, "日期转换异常");

    ErrorCode CHECK_USE_EXISTS = new ErrorCode(2001001042, "无法删除，配置有权限请先删除权限");


    ErrorCode TEACHER_USER_ADD_EXISTS = new ErrorCode(2001001043, "教师用户创建异常");
}
